package org.coder.provider.xml;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @description:
 * @author: coder97
 * @since: 2021/03/15
 */
public class EchoProvider {

    public static void main(String[] args) throws IOException {
        // 指定服务暴露的文件
        ClassPathXmlApplicationContext applicationContext =
                new ClassPathXmlApplicationContext(new String[]{"spring/echo-provider.xml"});
        applicationContext.start();
        // 阻塞服务防止关闭
        System.in.read();

    }

}